package mydemo.springcloudalibaba.cousumer.order.myLoadBalanced;

import org.springframework.cloud.client.ServiceInstance;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 自定义负载
 */
public interface MyLoadBanancer {
    /**
     * 选择服务
     */
    ServiceInstance instance(List<ServiceInstance> serviceInstances);
}
